package me.exchange.com.modules.system.dto;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import me.exchange.com.annotation.Query;
import me.exchange.com.base.BaseQueryCriteria;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import java.util.Set;

/**
 * @author Zheng Jie
 * @date 2018-11-23
 */
@Getter
@Setter
public class UserQueryCriteria  extends BaseQueryCriteria implements Serializable {

    @Query
    private Long id;

    @Query(type = Query.Type.IN, propName="id")
    private Set<Long> ids;

    @Query(blurry = "email,username,nickName")
    private String blurry;

    @Query
    private Boolean enabled;

    @Query
    private Long deptId;

    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp>cAdminTime;

    @Query
    private Boolean isdel = true;
}
